﻿using System;
using System.Web.UI;

namespace ASPNETVN.PORTAL.Controls
{
    public partial class Profile : UserControl
    {
        protected override void OnInit(EventArgs e)
        {
            if (Request.QueryString["option"] != null)
            {
                ContentPane.Controls.Add(Page.LoadControl(string.Format("~/Controls/AccountSettings/{0}.ascx", Request.QueryString["option"])));
            }
            base.OnInit(e);
        }
    }
}